package br.droidhere;

import android.os.Bundle;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;

public class MapGoogle extends MapActivity{

	@Override
	protected boolean isRouteDisplayed() {
		return false;
	}
	
	@Override
	   public void onCreate(Bundle savedInstanceState) {
	       super.onCreate(savedInstanceState);
	       MapView map = new MapView(this, "0EaiWnYX6R4WeyzKq9K0HdE_BUKWe8M3YQ7dH1g");
	       setContentView(map);
	       map.setBuiltInZoomControls(true);
	       map.setClickable(true);
	       
	       int longMicroDregrees = (int)(-35.208458 * 1E6);
	       int latMicroDregrees = (int)(-5.845161 * 1E6);
	       GeoPoint point = new GeoPoint(latMicroDregrees, longMicroDregrees);
	       
	       MapController mapC = map.getController();
	       
	       mapC.setCenter(point);
	       mapC.setZoom(17);
	   }

}
